package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.domain.ResponseResult;
import org.example.domain.dto.CityListDto;
import org.example.domain.entity.City;

public interface CityService extends IService<City> {
    ResponseResult addCity(City city);

    ResponseResult cityList(CityListDto cityListDto);

    ResponseResult selectAllCity();

    ResponseResult updateCity(City city);

    ResponseResult getCityList(CityListDto cityListDto);

    ResponseResult getAllCities();

    ResponseResult updateViewCount(Integer id);

    ResponseResult getCityDetail(Integer id);

    ResponseResult recommendCity();
}
